package com.why.blog.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * @program: blog
 * @description:
 * @author: @why
 * @create: 2021-01-15 21:05
 **/
@ResponseStatus(HttpStatus.NOT_FOUND)
public class customizeExceptionByHttpStatus extends RuntimeException {
    public customizeExceptionByHttpStatus() {
    }

    public customizeExceptionByHttpStatus(String message) {
        super(message);
    }

    public customizeExceptionByHttpStatus(Throwable cause) {
        super(cause);
    }
}
